<?php

namespace Database\Factories;

use App\Models\UserCenter;
use Illuminate\Database\Eloquent\Factories\Factory;

class UserCenterFactory extends Factory
{
    protected $model = UserCenter::class;

    /**
     * Define the model's default state.l
     *
     * @return array
     */
    public function definition()
    {
        return [
            'user_id' => app('snowflake')->id(),
            'login_name' => $this->faker->userName(),
            'password' => \Str::random(64), 
            'mobile' => \Str::random(11),
            'email' => $this->faker->email(),
        ];
    }
}
